feat(release): v1.0.2 — CI gate, deploy, integration, health + UI#22
Merged
Conversation
- CLI: release diff --fail-on-policy for CI policy gates - GET /health mutation_auth; web security strip + VITE_FLIGHTDECK_UI_READ_ONLY - examples/ci (ledger-gate.sh, GHA templates), deploy (Docker/Compose), integration emitter - CHANGELOG/RELEASE_NOTES 1.0.2; CI runs ledger-gate on Ubuntu + Windows Co-authored-by: Cursor <cursoragent@cursor.com>
- Added checks in `ledger-gate.sh` to prevent unsafe WORKSPACE values and ensure a fresh directory is created for each CI run. - Updated GitHub Actions workflows to use a unique WORKSPACE path incorporating `run_id` and `run_attempt` to avoid conflicts during reruns. - Updated documentation to clarify the purpose of the WORKSPACE variable as a dedicated throwaway directory. This change improves the reliability of CI runs by preventing issues related to existing files in the WORKSPACE.
…oss-platform compatibility - Updated `.gitattributes` to enforce LF line endings for CI shell scripts. - Replaced `ledger-gate.sh` with `ledger_gate.py` in CI workflows to eliminate bash-specific issues and ensure consistent execution across platforms. - Enhanced `README.md` in the CI examples to reflect the new Python-based gate approach and clarify environment variable usage. - Adjusted GitHub Actions workflows to utilize the new Python script, improving reliability and maintainability of CI processes.
- Refactored CI workflows to ensure a fresh WORKSPACE for each run, preventing conflicts from previous runs. - Enhanced checks in the CI scripts to validate WORKSPACE values and create unique paths using `run_id` and `run_attempt`. - Updated documentation to clarify the purpose and usage of the WORKSPACE variable, improving overall CI reliability.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CLI: release diff --fail-on-policy for CI policy gates
GET /health mutation_auth; web security strip + VITE_FLIGHTDECK_UI_READ_ONLY
examples/ci (ledger-gate.sh, GHA templates), deploy (Docker/Compose), integration emitter
CHANGELOG/RELEASE_NOTES 1.0.2; CI runs ledger-gate on Ubuntu + Windows
Summary
Why
Changes
Validation
Run the same checks as CI (see
.github/workflows/ci.yml) before opening / updating the PR. Cursor loads.cursor/rules/flightdeck-ci-artifacts.mdcas a short reminder forstatic/+schemas/gates.uv sync --frozen --extra devuv run python -m ruff check src testsuv run python -m pytestuv run python scripts/generate_schemas.pythengit diff --exit-code schemas/(if models/schemas touched)cd web && npm ci && npm run build && cd .. && git diff --exit-code src/flightdeck/server/static/(ifweb/sources, Vite config, orweb/deps / lockfile change the production bundle)cd web && npx playwright install chromium && npm run test:e2e(ifweb/changed)uv run flightdeck-quickstart-verifyuv run flightdeck --helpWith pip / venv only, use
python -m …equivalents fromDEVELOPMENT.md.Schema / Storage Impact
Risk
Review
@flightdeckdev/maintainerson the org repo). On a fork, GitHub may not auto-request; use Reviewers on the PR.AGENTS.md); linked issue or release note intent noted if helpful.Notes